package kr.hkit.powerjava.chapter07.work;

public class Movie {
	private String subject; //영화제목
	private String supervisor; //감독
	private int grade; //평점
	private int year; //연도
	
	public Movie() { }
	public Movie(String subject, String supervisor, int grade, int year) {
		this.subject = subject;
		this.supervisor = supervisor;
		this.grade = grade;
		this.year = year;
	}
	
	public void setMoive(String subject, String supervisor, int grade, int year) {
		this.subject = subject;
		this.supervisor = supervisor;
		this.grade = grade;
		this.year = year;
	}
	
	public void print() {
		System.out.println("Movie [제목 = " + subject + ", 감독 = " + supervisor
				+ ", 평점 = " + grade + ", 개봉년도 = " + year + "]");
	}
	
	
}
